14. Coprocessor 0

14.32 Move To/From the Performance Counter



The R10000 processor defines two performance counters, and their associated event specifier registers, which are mapped into the CP0 register 25. The following instructions are used to perform an MTC0 to or an MFC0 from a performance counter or an event specifier register. The event specifier registers are referred as control registers in the description of CP0 register 25. (See page 271 in Errata.)










Format: MFPC rt, reg -- Move from performance counter
MTPC rt, reg -- Move to performance counter
MFPS rt, reg -- Move from performance event specifier
MTPS rt, reg -- Move to performance event specifier

reg can be either a performance counter or an event specifier; only register 0 and 1 are valid in the R10000 implementation.




Copyright 1995, MIPS Technologies, Inc. -- 29 JAN 96


Generated with CERN WebMaker